package com.ficus.road.maintain.core.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;

import java.util.Date;

@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CarVideoRecord {
    @Id
    private String id;

    // 车辆Id
    private String carId;

    // 日期
    private String date;

    // 图片path
    private String picturePath;

    // meta信息path
    private String metaPath;

    // pb文件是否压缩
    private boolean compressed;

    // 开始时间
    private Long startTime;

    // 结束时间
    private Long endTime;

    // 创建时间
    private Date creationTime;

}
